package com.atguigu.spring.aop.xml;

import org.springframework.stereotype.Component;

/**
 * @author wk
 * @create 2021-06-03 23:46
 */
@Component
public class CalculateImpl implements Calculate {
    @Override
    public int add(int i, int j) {
        int result=i+j;
        return result;
    }

    @Override
    public int sub(int i, int j) {
        int result=i-j;
        return result;
    }

    @Override
    public int mul(int i, int j) {
        int result=i*j;
        return result;
    }

    @Override
    public int div(int i, int j) {
        int result=i/j;
        return result;
    }
}
